package com.ahm.service;

import com.ahm.pojo.Product;

import java.util.List;
import java.util.Map;

/**
 * @author anhaimeng
 * @title: ProductServcie
 * @projectName feign-demo
 * @description: TODO
 * @date 2021/10/1917:37
 */
public interface ProductService {

    List<Product> selectAllProduct();


    // 根据Id查询商品

    Product selectById(Integer id);


    Map<String,Object> saveProduct(Product product);


    Product getProduct(Product product);


}
